package com.atguigu.gulimall.product.fign;

import com.atguigu.common.to.es.SkuEsModl;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author gorkr
 * @date 2022/08/29 22:31
 **/

@FeignClient("gulimall-search")
public interface SearchFeignService {
    @PostMapping(value = "/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModl> skuEsModels);
}
    